<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UIDragDropItem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_drag_drop_item.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_u_i_drag_drop_item-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIDragDropItem Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_u_i_drag_drop_item.html" title="UIDragDropItem is a base script for your own Drag & Drop operations. ">UIDragDropItem</a> is a base script for your own Drag &amp; Drop operations.  
 <a href="class_u_i_drag_drop_item.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIDragDropItem:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_drag_drop_item.png" usemap="#UIDragDropItem_map" alt=""/>
  <map id="UIDragDropItem_map" name="UIDragDropItem_map">
<area href="class_example_drag_drop_item.html" alt="ExampleDragDropItem" shape="rect" coords="0,112,137,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:affc7cc477a2a35b0cc7cc44ca8ba68d2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2">Restriction</a> { <a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2a6adf97f83acf6453d4a6a4b1070f3754">Restriction.None</a>, 
<a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2ac1b5fa03ecdb95d4a45dd1c40b02527f">Restriction.Horizontal</a>, 
<a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2a06ce2a25e5d12c166a36f654dbea6012">Restriction.Vertical</a>, 
<a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2abef71eee04ec02f2742367b462342d6c">Restriction.PressAndHold</a>
 }</td></tr>
<tr class="separator:affc7cc477a2a35b0cc7cc44ca8ba68d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3fd2d60204d34a077c828d95cba6b66b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2">Restriction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a3fd2d60204d34a077c828d95cba6b66b">restriction</a> = Restriction.None</td></tr>
<tr class="memdesc:a3fd2d60204d34a077c828d95cba6b66b"><td class="mdescLeft">&#160;</td><td class="mdescRight">What kind of restriction is applied to the drag &amp; drop logic before dragging is made possible.  <a href="#a3fd2d60204d34a077c828d95cba6b66b">More...</a><br /></td></tr>
<tr class="separator:a3fd2d60204d34a077c828d95cba6b66b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5f2b932385227b727c2bafc2b0152ff"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#ac5f2b932385227b727c2bafc2b0152ff">cloneOnDrag</a> = false</td></tr>
<tr class="memdesc:ac5f2b932385227b727c2bafc2b0152ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether a copy of the item will be dragged instead of the item itself.  <a href="#ac5f2b932385227b727c2bafc2b0152ff">More...</a><br /></td></tr>
<tr class="separator:ac5f2b932385227b727c2bafc2b0152ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa31dc13c26d27ce8bb53a16c30b412a9"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#aa31dc13c26d27ce8bb53a16c30b412a9">pressAndHoldDelay</a> = 1f</td></tr>
<tr class="memdesc:aa31dc13c26d27ce8bb53a16c30b412a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">How long the user has to press on an item before the drag action activates.  <a href="#aa31dc13c26d27ce8bb53a16c30b412a9">More...</a><br /></td></tr>
<tr class="separator:aa31dc13c26d27ce8bb53a16c30b412a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a50021b22c91eda99be3e3f494695c3b8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a50021b22c91eda99be3e3f494695c3b8">Start</a> ()</td></tr>
<tr class="memdesc:a50021b22c91eda99be3e3f494695c3b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache the transform.  <a href="#a50021b22c91eda99be3e3f494695c3b8">More...</a><br /></td></tr>
<tr class="separator:a50021b22c91eda99be3e3f494695c3b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3399e38adfb3e3bd56671d4cdfa8a0dc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a3399e38adfb3e3bd56671d4cdfa8a0dc">OnDragDropStart</a> ()</td></tr>
<tr class="memdesc:a3399e38adfb3e3bd56671d4cdfa8a0dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform any logic related to starting the drag &amp; drop operation.  <a href="#a3399e38adfb3e3bd56671d4cdfa8a0dc">More...</a><br /></td></tr>
<tr class="separator:a3399e38adfb3e3bd56671d4cdfa8a0dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a230fc2db2fa72f4337ad2e18cb77c7d6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a230fc2db2fa72f4337ad2e18cb77c7d6">OnDragDropMove</a> (Vector3 delta)</td></tr>
<tr class="memdesc:a230fc2db2fa72f4337ad2e18cb77c7d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the dragged object's position.  <a href="#a230fc2db2fa72f4337ad2e18cb77c7d6">More...</a><br /></td></tr>
<tr class="separator:a230fc2db2fa72f4337ad2e18cb77c7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1929c44db4091f1be83ea94e709b07"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#ada1929c44db4091f1be83ea94e709b07">OnDragDropRelease</a> (GameObject surface)</td></tr>
<tr class="memdesc:ada1929c44db4091f1be83ea94e709b07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drop the item onto the specified object.  <a href="#ada1929c44db4091f1be83ea94e709b07">More...</a><br /></td></tr>
<tr class="separator:ada1929c44db4091f1be83ea94e709b07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dfd45a3bf7f49dbb194ade4f7c7c958"><td class="memItemLeft" align="right" valign="top">IEnumerator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a6dfd45a3bf7f49dbb194ade4f7c7c958">EnableDragScrollView</a> ()</td></tr>
<tr class="memdesc:a6dfd45a3bf7f49dbb194ade4f7c7c958"><td class="mdescLeft">&#160;</td><td class="mdescRight">Re-enable the drag scroll view script at the end of the frame. Reason: <a href="http://www.tasharen.com/forum/index.php?topic=10203.0">http://www.tasharen.com/forum/index.php?topic=10203.0</a>  <a href="#a6dfd45a3bf7f49dbb194ade4f7c7c958">More...</a><br /></td></tr>
<tr class="separator:a6dfd45a3bf7f49dbb194ade4f7c7c958"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:afa2972fb77e76eee3cdc2e3b9eed9386"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#afa2972fb77e76eee3cdc2e3b9eed9386">mTrans</a></td></tr>
<tr class="separator:afa2972fb77e76eee3cdc2e3b9eed9386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16bc6b430d09f9cdfa97cf1095bbbfe1"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a16bc6b430d09f9cdfa97cf1095bbbfe1">mParent</a></td></tr>
<tr class="separator:a16bc6b430d09f9cdfa97cf1095bbbfe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5425512adc4ca9e54afe9d8891df538"><td class="memItemLeft" align="right" valign="top">Collider&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#ac5425512adc4ca9e54afe9d8891df538">mCollider</a></td></tr>
<tr class="separator:ac5425512adc4ca9e54afe9d8891df538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8297aeb225a2f20065faee63c4f82e83"><td class="memItemLeft" align="right" valign="top">Collider2D&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a8297aeb225a2f20065faee63c4f82e83">mCollider2D</a></td></tr>
<tr class="separator:a8297aeb225a2f20065faee63c4f82e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a332a039e317d7eb2970dffb4b73c5e4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_button.html">UIButton</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a332a039e317d7eb2970dffb4b73c5e4c">mButton</a></td></tr>
<tr class="separator:a332a039e317d7eb2970dffb4b73c5e4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721c24e2aa7683bc8ed357d68bfd7902"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_root.html">UIRoot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a721c24e2aa7683bc8ed357d68bfd7902">mRoot</a></td></tr>
<tr class="separator:a721c24e2aa7683bc8ed357d68bfd7902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448c1647ef385e521efb12366d8738aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_grid.html">UIGrid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a448c1647ef385e521efb12366d8738aa">mGrid</a></td></tr>
<tr class="separator:a448c1647ef385e521efb12366d8738aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c5f422d181103482c3c2bcdf0d4f8a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_table.html">UITable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a8c5f422d181103482c3c2bcdf0d4f8a6">mTable</a></td></tr>
<tr class="separator:a8c5f422d181103482c3c2bcdf0d4f8a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27b0736b515a2ee5b8c40e386490ad29"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a27b0736b515a2ee5b8c40e386490ad29">mTouchID</a> = int.MinValue</td></tr>
<tr class="separator:a27b0736b515a2ee5b8c40e386490ad29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fa773c1925face2a8bed9ee69afc9bb"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a8fa773c1925face2a8bed9ee69afc9bb">mPressTime</a> = 0f</td></tr>
<tr class="separator:a8fa773c1925face2a8bed9ee69afc9bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9838cbd0ea100cd2ecf64a3e0555990"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_drag_scroll_view.html">UIDragScrollView</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#ae9838cbd0ea100cd2ecf64a3e0555990">mDragScrollView</a> = null</td></tr>
<tr class="separator:ae9838cbd0ea100cd2ecf64a3e0555990"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_u_i_drag_drop_item.html" title="UIDragDropItem is a base script for your own Drag & Drop operations. ">UIDragDropItem</a> is a base script for your own Drag &amp; Drop operations. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="affc7cc477a2a35b0cc7cc44ca8ba68d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2">UIDragDropItem.Restriction</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="affc7cc477a2a35b0cc7cc44ca8ba68d2a6adf97f83acf6453d4a6a4b1070f3754"></a>None&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="affc7cc477a2a35b0cc7cc44ca8ba68d2ac1b5fa03ecdb95d4a45dd1c40b02527f"></a>Horizontal&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="affc7cc477a2a35b0cc7cc44ca8ba68d2a06ce2a25e5d12c166a36f654dbea6012"></a>Vertical&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="affc7cc477a2a35b0cc7cc44ca8ba68d2abef71eee04ec02f2742367b462342d6c"></a>PressAndHold&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6dfd45a3bf7f49dbb194ade4f7c7c958"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IEnumerator UIDragDropItem.EnableDragScrollView </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Re-enable the drag scroll view script at the end of the frame. Reason: <a href="http://www.tasharen.com/forum/index.php?topic=10203.0">http://www.tasharen.com/forum/index.php?topic=10203.0</a> </p>

</div>
</div>
<a class="anchor" id="a230fc2db2fa72f4337ad2e18cb77c7d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIDragDropItem.OnDragDropMove </td>
          <td>(</td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>delta</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adjust the dragged object's position. </p>

</div>
</div>
<a class="anchor" id="ada1929c44db4091f1be83ea94e709b07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIDragDropItem.OnDragDropRelease </td>
          <td>(</td>
          <td class="paramtype">GameObject&#160;</td>
          <td class="paramname"><em>surface</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Drop the item onto the specified object. </p>

<p>Reimplemented in <a class="el" href="class_example_drag_drop_item.html#af7d16806f3f8f4e96ec8b8034f38f71b">ExampleDragDropItem</a>.</p>

</div>
</div>
<a class="anchor" id="a3399e38adfb3e3bd56671d4cdfa8a0dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIDragDropItem.OnDragDropStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Perform any logic related to starting the drag &amp; drop operation. </p>

</div>
</div>
<a class="anchor" id="a50021b22c91eda99be3e3f494695c3b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIDragDropItem.Start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cache the transform. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ac5f2b932385227b727c2bafc2b0152ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIDragDropItem.cloneOnDrag = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether a copy of the item will be dragged instead of the item itself. </p>

</div>
</div>
<a class="anchor" id="a332a039e317d7eb2970dffb4b73c5e4c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_button.html">UIButton</a> UIDragDropItem.mButton</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac5425512adc4ca9e54afe9d8891df538"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Collider UIDragDropItem.mCollider</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8297aeb225a2f20065faee63c4f82e83"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Collider2D UIDragDropItem.mCollider2D</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae9838cbd0ea100cd2ecf64a3e0555990"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_drag_scroll_view.html">UIDragScrollView</a> UIDragDropItem.mDragScrollView = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a448c1647ef385e521efb12366d8738aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_grid.html">UIGrid</a> UIDragDropItem.mGrid</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a16bc6b430d09f9cdfa97cf1095bbbfe1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Transform UIDragDropItem.mParent</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8fa773c1925face2a8bed9ee69afc9bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIDragDropItem.mPressTime = 0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a721c24e2aa7683bc8ed357d68bfd7902"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_root.html">UIRoot</a> UIDragDropItem.mRoot</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8c5f422d181103482c3c2bcdf0d4f8a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_table.html">UITable</a> UIDragDropItem.mTable</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a27b0736b515a2ee5b8c40e386490ad29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIDragDropItem.mTouchID = int.MinValue</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afa2972fb77e76eee3cdc2e3b9eed9386"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Transform UIDragDropItem.mTrans</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa31dc13c26d27ce8bb53a16c30b412a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float UIDragDropItem.pressAndHoldDelay = 1f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>How long the user has to press on an item before the drag action activates. </p>

</div>
</div>
<a class="anchor" id="a3fd2d60204d34a077c828d95cba6b66b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_drag_drop_item.html#affc7cc477a2a35b0cc7cc44ca8ba68d2">Restriction</a> UIDragDropItem.restriction = Restriction.None</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>What kind of restriction is applied to the drag &amp; drop logic before dragging is made possible. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/Interaction/<a class="el" href="_u_i_drag_drop_item_8cs.html">UIDragDropItem.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:18 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
